//
//  RequestsFormat.swift
//  DianShangWen
//
//  Created by 周文轩 on 15/4/3.
//  Copyright (c) 2015年 &#21608;&#25991;&#36713;. All rights reserved.
//

import Foundation

class Parameters {
    
    class func parameterRequest(APIName: String, requestStayle: String, params: NSDictionary) -> NSDictionary {
        let parameters = [
            "count":1,
            "sessionkey":"",
            "source":1,
            "uid":"",
//            "screen": [
//                "minsize":1024,
//                "maxsize":768
//            ],
            "reqs": [
                [
                    "version":"1.0",
                    "name": "\(APIName)\(requestStayle)",
                    "params": params
                ]
            ]
        ]
        return parameters
    }
}